package com.mts.indicatorjpa.yearmanage.entity

import com.mts.javacommon.jpabase.BaseEntity
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Table
import io.swagger.v3.oas.annotations.media.Schema

/**
 *
 *
 * <pre>
 *
 * </pre>
 *
 * @author Johnny
 * @date 2025-08-22
 */


@Entity
@Table(name = "t_year_manage")
class YearManageEntity(

    @Schema(description = "") @Column(name = "name")
    var name: String? = null,
    @Schema(description = "") @Column(name = "enable_controller")
    var enableController: Boolean
    ? = null,
    @Schema(description = "") @Column(name = "year_start")
    var yearStart: Int
    ? = null,
    @Schema(description = "") @Column(name = "year_end")
    var yearEnd: Int
    ? = null,
) : BaseEntity()
